﻿#region License
// (c) Garry McGlennon 2009
// 
// This project is made available under the Microsoft Public License (Ms-PL)
// Code is provided as is and with no warrenty – Use at your own risk
// 
// View the project and the latest code at http://dnpframework.codeplex.com/
// 
// All other rights reserved.
// 
// blog: www.dotNetProfessional.com/blog/
#endregion
using dnp.Framework.Web;
using MbUnit.Framework;

namespace dnp.Framework.UnitTest.Web
{
    [TestFixture]
    public class IPAddressTest
    {
        [Test]
        public void IPAddressToNumber()
        {
            var ipNumber = IPAddress.IPAddressToNumber("131.107.0.71");
            Assert.AreEqual(2204827719, ipNumber);
        }
    }
}
